package com.itheima.mongo.pojo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;
/**
 * 联想词表
 */
@Data
@Document("ap_associate_words")   //指定集合名，集合相当于mysql的一张表
public class ApAssociateWords implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String associateWords;    //联想词
    private Date createdTime;    //创建时间
}
